/*
 * Vehicle.hpp
 *
 *  Created on: May 24, 2011
 *      Author: jmurray
 */

#ifndef VEHICLE_HPP_
#define VEHICLE_HPP_

#include <string>

using namespace std;

class Vehicle {
public:
	Vehicle();
	virtual ~Vehicle();

	//Elements
	//! Unique ID to identify the Vehicle
	int ID;

	//! Human readable name of the Vechile
	string name;
	
	//! Name of the Vechile in the address table (<20 ASCII char)
	string addyName; 

	//! Maximum speed in mm/s
	int maxSpeed;
	
	//! Total length of the engine in mm
	int headLength;
	
	//! Total length of the cars attached to the train in mm
	int tailLength;
	
	//! Offset from the front of the head that the readers antenna is positioned at in mm. This should be the center of the readers range.
	int readerOffset;

	//! The status of the train indicates if it is busy, waiting for orders, in error etc etc.
	int status;
	
	//!\TODO: Decide status numbers and define them within the header
};


#endif /* VEHICLE_HPP_ */
